import React,{useState } from 'react';
// import { userState } from 'react';
const App = () => {
  // 状态数据
  let [count,setCount] = useState(0)
  let [uname,setUname] = useState('Tom')
  
  return (
    <div>
      <button onClick={()=>setCount(count+1)}>当前点击了{count}次</button>
    </div>
  );
}
export default App;
